﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="Danhsachtinhtrangsanpham.aspx.cs" Inherits="Admin_Danhsachtinhtrangsanpham" Title="Untitled Page" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div>
     <table cellpadding="3" cellspacing="0" style="font-family:Tahoma; font-size:14px"> 
     <tr><td class="font">
       
             Danh Sách Tình Trạng Sản Phẩm
        </td></tr>
        <tr><td><p></p></td></tr>
         <tr><td style="height: 31px">
               
                Tên Tình Trạng Sản Phẩm:
                <asp:TextBox ID="txt_tenttsp" runat="server" Width="122px"></asp:TextBox>
                                <asp:Button ID="btn_them" runat="server" Text="Thêm tình trạng sản phẩm" OnClick="btn_tthem_Click" />
               

            </td></tr>
          <tr><td align="right" style="height: 23px">
                   
                <asp:LinkButton ID="lbt_Xoa" runat="server" OnClick="lbt_Xoa_Click">Xóa</asp:LinkButton>
                    
            </td></tr>      
        
        <tr><td>
        <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound" >
            <HeaderTemplate>
                <table cellspacing="0" cellpadding="3" width="100%" border="1">
                <thead>
                    <tr class="fontht1">
                        <th>Mã Tình Trạng Sản Phẩm</th>
                        <th>Tên Tình Trạng Sản Phẩm</th>
                      <th>Sửa</th>                  
                        <th>
                            <input id="cb_All" type="checkbox" onclick="CheckAll(1);" />
                            <a href="javascript:CheckAll(2)">Chọn hết</a>
                        </th>
                    </tr>
                </thead>
                <tbody>
            </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td><%#Eval("mattsp") %></td>
                <td>
                    <asp:Literal ID="lit_tt" runat="server"></asp:Literal>
                </td>             
                <td><asp:HyperLink ID="hpl_Edit" Text="Edit" runat="server" /></td>
                <td>
                    <asp:CheckBox ID="cb_Xoa" runat="server" />
                    <asp:HiddenField ID="hf_id" Value='<%#Eval("Mattsp") %>' runat="server" />
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>   
            </FooterTemplate>
        </asp:Repeater>  
        </td></tr>
        
            <tr><td>
                <cc1:PagerV2_8 ID="Pager" runat="server"  />
                
           </td></tr>
        
        </table> 
 </div>
</asp:Content>

